package cn.community.care.module.system.controller.admin.status.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.community.care.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.community.care.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 健康状态分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class StatusPageReqVO extends PageParam {

    private Long id;

    @Schema(description = "老人ID：", example = "16319")
    private Long userId;

    @Schema(description = "身高：")
    private BigDecimal height;

    @Schema(description = "体重：")
    private BigDecimal weight;

    @Schema(description = "血压：")
    private String bloodPressure;

    @Schema(description = "血糖：")
    private String bloodGlucose;

    @Schema(description = "心率：")
    private String heartRate;

    @Schema(description = "健康评分：")
    private String healthScore;

    @Schema(description = "健康描述：", example = "你猜")
    private String healthDescription;

    @Schema(description = "记录时间：")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String recordTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String createTime;

    private String userName;

}